package com.example.fresh_fruit.entity;


import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author 22675
 */
@AllArgsConstructor
@NoArgsConstructor
public class ChargeBack {

  private long id;
  private long orderId;
  private long commodityId;
  private String commodityName;
  private double commodityPrice;
  private long commodityNumber;
  private double commodityTotalPrice;
  private java.sql.Timestamp time;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getOrderId() {
    return orderId;
  }

  public void setOrderId(long orderId) {
    this.orderId = orderId;
  }


  public long getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(long commodityId) {
    this.commodityId = commodityId;
  }


  public String getCommodityName() {
    return commodityName;
  }

  public void setCommodityName(String commodityName) {
    this.commodityName = commodityName;
  }


  public double getCommodityPrice() {
    return commodityPrice;
  }

  public void setCommodityPrice(double commodityPrice) {
    this.commodityPrice = commodityPrice;
  }


  public long getCommodityNumber() {
    return commodityNumber;
  }

  public void setCommodityNumber(long commodityNumber) {
    this.commodityNumber = commodityNumber;
  }


  public double getCommodityTotalPrice() {
    return commodityTotalPrice;
  }

  public void setCommodityTotalPrice(double commodityTotalPrice) {
    this.commodityTotalPrice = commodityTotalPrice;
  }


  public java.sql.Timestamp getTime() {
    return time;
  }

  public void setTime(java.sql.Timestamp time) {
    this.time = time;
  }

}
